<?php

namespace CoffeeScript;

class yy_Throw extends yy_Base
{
	public $children = array('expression');

	function constructor($expression)
	{
		$this->expression = $expression;

		return $this;
	}

	function compile_node($options = array())
	{
		return $this->tab.'throw '.$this->expression->compile($options).';';
	}

	function is_statement()
	{
		return TRUE;
	}

	function jumps()
	{
		return FALSE;
	}

	function make_return()
	{
		return $this;
	}
}

?>
